import React from 'react'
import { useHistory } from 'react-router'
import './goback.less'
export default function GoBack() {
    const history = useHistory()
    return (
        <div className="goback" onClick={() => history.go(-1)}>
            返回上一页
        </div>
    )
}
